Multi-frequency impedance measurement